package com.fishery.quartz.entity.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

@ApiModel(value = "修改任务对象")
public class UpdateTaskVo {

	@TableId(value = "id")
	private String id;

	@ApiModelProperty(value = "任务分组")
	private String jobGroup;

	@ApiModelProperty(value = "任务名")
	private String jobName;

	@ApiModelProperty(value = "更新者")
	private String modifiedName;

	@ApiModelProperty(value = "更新时间", hidden = true)
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date gmtModified;

	@ApiModelProperty(value = "任务描述")
	private String description;

	@ApiModelProperty(value = "cron表达式")
	private String cronExpression;

	@ApiModelProperty(value = "任务执行时调用哪个接口的uri地址")
	private String requestUri;

	@ApiModelProperty(value = "对应接口的请求方式")
	private String requestMethod;

	@ApiModelProperty(value = "请求体")
	private String requestBody;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getJobGroup() {
		return jobGroup;
	}

	public void setJobGroup(String jobGroup) {
		this.jobGroup = jobGroup;
	}

	public String getJobName() {
		return jobName;
	}

	public void setJobName(String jobName) {
		this.jobName = jobName;
	}

	public String getModifiedName() {
		return modifiedName;
	}

	public void setModifiedName(String modifiedName) {
		this.modifiedName = modifiedName;
	}

	public Date getGmtModified() {
		return gmtModified;
	}

	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getCronExpression() {
		return cronExpression;
	}

	public void setCronExpression(String cronExpression) {
		this.cronExpression = cronExpression;
	}

	public String getRequestUri() {
		return requestUri;
	}

	public void setRequestUri(String requestUri) {
		this.requestUri = requestUri;
	}

	public String getRequestMethod() {
		return requestMethod;
	}

	public void setRequestMethod(String requestMethod) {
		this.requestMethod = requestMethod;
	}

	public String getRequestBody() {
		return requestBody;
	}

	public void setRequestBody(String requestBody) {
		this.requestBody = requestBody;
	}
}
